Skip to content

IRIS CLI v1.2.3 — Fix bloqs ingest file upload - #5

Merged
mayoalexander merged 2 commits into
mainfrom
dev
Apr 19, 2026
Merged

IRIS CLI v1.2.3 — Fix bloqs ingest file upload#5
mayoalexander merged 2 commits into
mainfrom
dev

Conversation

@mayoalexander

Copy link
Copy Markdown

Summary

  • Fix iris bloqs ingest using nonexistent route /user/{id}/bloqs/{id}/files → correct /cloud-files/upload
  • Pass user_id and bloq_id in form data as the upload endpoint requires

Fixes #59973

Test plan

  • iris bloqs ingest 334 test.csv — uploads successfully, returns File ID
  • Build passes typecheck

🤖 Generated with Claude Code

mayoalexander and others added 2 commits April 19, 2026 11:09
…9973)

CLI was POSTing to /api/v1/user/{id}/bloqs/{id}/files which doesn't exist.
Correct endpoint is /api/v1/cloud-files/upload with user_id and bloq_id
in the form data. Tested with CSV upload — file ID returned successfully.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings April 19, 2026 16:10
@mayoalexander
mayoalexander merged commit dfa98ec into main Apr 19, 2026
0 of 6 checks passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes iris bloqs ingest uploads by switching from a nonexistent bloqs file route to the platform cloud upload endpoint and sending the required form fields.

Changes:

  • Update iris bloqs ingest to POST to /api/v1/cloud-files/upload instead of /api/v1/user/{id}/bloqs/{id}/files
  • Include user_id and bloq_id in the multipart FormData payload
  • Bump packages/opencode version to 1.2.3

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
packages/opencode/src/cli/cmd/platform-bloqs.ts Adjusts Bloqs ingest upload request to use the correct endpoint and required form fields.
packages/opencode/package.json Version bump for the CLI release containing the fix.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

mayoalexander added a commit that referenced this pull request Aug 27, 2026
stats emitted ASCII boxes with no --json option; scripts parsing
`iris stats --json` got non-JSON. Build structured JSON via writeJson,
reusing the existing aggregateSessionStats payload plus admin-derived
metrics.
mayoalexander added a commit that referenced this pull request Aug 27, 2026
…sktop sidecar (#58)

* fix(integrations): address low-severity bugs #12, #16, #17

- #12: replace btoa with secure random nonce in WhatsApp OAuth state
- #16: stop swallowing network errors in resolveAccountToIntegrationId
- #17: read COMPOSIO_API_KEY at call-time instead of module load

* fix(desktop): resolve iris-cli sidecar via Tauri API (fix 'Failed to spawn IRIS Server')

* fix(stats): add --json output for machine-readable usage stats (bug #5)

stats emitted ASCII boxes with no --json option; scripts parsing
`iris stats --json` got non-JSON. Build structured JSON via writeJson,
reusing the existing aggregateSessionStats payload plus admin-derived
metrics.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants